import { ajax_tool } from "./ajax.js";
import api from './API.js';
export function login(data) {
    return ajax_tool("POST",
        api.loginApi
        , data)
}
export function chooseDay(data) {
    return ajax_tool("GET",
        api.choosedayApi
        , data)
}
export function chooseList(data) {
    return ajax_tool("GET",
        api.chooselistApi
        , data)
}
export function bookDay(data) {
    return ajax_tool("POST",
        api.bookdayApi
        , data)
}
export function qrCode(data) {
    return ajax_tool("GET",
        api.qrcodeApi
        , data)
}
export function report(data) {
    return ajax_tool("POST",
        api.reportApi
        , data)
}